home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / m17n / cjk-util.mim < prev    next >
Text File  |  2009-04-29  |  3KB  |  93 lines

  1. ;; cjk-util.mim -- Provide utilities for CJK input methods.
  2. ;; Copyright (C) 2005
  3. ;;   National Institute of Advanced Industrial Science and Technology (AIST)
  4. ;;   Registration Number H15PRO112
  5.  
  6. ;; This file is part of the m17n library.
  7.  
  8. ;; The m17n library is free software; you can redistribute it and/or
  9. ;; modify it under the terms of the GNU Lesser General Public License
  10. ;; as published by the Free Software Foundation; either version 2.1 of
  11. ;; the License, or (at your option) any later version.
  12.  
  13. ;; The m17n library is distributed in the hope that it will be useful,
  14. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16. ;; Lesser General Public License for more details.
  17.  
  18. ;; You should have received a copy of the GNU Lesser General Public
  19. ;; License along with the m17n library; if not, write to the Free
  20. ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  21. ;; Boston, MA 02110-1301, USA.
  22.  
  23. (input-method t nil cjk-util)
  24.  
  25. (description "Provide utilities for CJK input methods.
  26. This is acutually not a standalone input method, but is expected
  27. to be included in the other input method (e.g. zh-py).
  28.  
  29. The fullwidth mode is turned on by typing \">>\", and turned off
  30. by typing \"<<\".
  31.  
  32. The single fullwidth mode is turned on by typing \"Z\".  In this
  33. mode, any key typed is converted to the fullwidth character and
  34. is inserted, then the mode is turned off.
  35. ")
  36.  
  37. (map
  38.  (fullwidth
  39.   (" " ?πÇÇ)  ("!" ?∩╝ü)  ("\"" ?∩╝é) ("#" ?∩╝â)
  40.   ("$" ("∩╝ä∩┐á∩┐í∩┐Ñ∩┐ª"))  ("%" ?∩╝à)  ("&" ?∩╝å)  ("'" ?∩╝ç)
  41.   ("(" ?\∩╝ê) (")" ?\∩╝ë) ("*" ?∩╝è)  ("+" ?∩╝ï)
  42.   ("," ?∩╝î)  ("-" ?∩╝ì)  ("." ?∩╝Ä)  ("/" ?∩╝Å)
  43.   ("0" ?∩╝É)  ("1" ?∩╝æ)  ("2" ?∩╝Æ)  ("3" ?∩╝ô)
  44.   ("4" ?∩╝ö)  ("5" ?∩╝ò)  ("6" ?∩╝û)  ("7" ?∩╝ù)
  45.   ("8" ?∩╝ÿ)  ("9" ?∩╝Ö)  (":" ?∩╝Ü)  (";" ?∩╝¢)
  46.   ("<" ?∩╝£)  ("=" ?∩╝¥)  (">" ?∩╝₧)  ("?" ?∩╝ƒ)
  47.   ("@" ?∩╝á)  ("A" ?∩╝í)  ("B" ?∩╝ó)  ("C" ?∩╝ú)
  48.   ("D" ?∩╝ñ)  ("E" ?∩╝Ñ)  ("F" ?∩╝ª)  ("G" ?∩╝º)
  49.   ("H" ?∩╝¿)  ("I" ?∩╝⌐)  ("J" ?∩╝¬)  ("K" ?∩╝½)
  50.   ("L" ?∩╝¼)  ("M" ?∩╝¡)  ("N" ?∩╝«)  ("O" ?∩╝»)
  51.   ("P" ?∩╝░)  ("Q" ?∩╝▒)  ("R" ?∩╝▓)  ("S" ?∩╝│)
  52.   ("T" ?∩╝┤)  ("U" ?∩╝╡)  ("V" ?∩╝╢)  ("W" ?∩╝╖)
  53.   ("X" ?∩╝╕)  ("Y" ?∩╝╣)  ("Z" ?∩╝║)  ("[" ?\∩╝╗)
  54.   ("\\" ?∩╝╝) ("]" ?\∩╝╜) ("^" ?∩╝╛)  ("_" ?∩╝┐)
  55.   ("`" ?∩╜Ç)  ("a" ?∩╜ü)  ("b" ?∩╜é)  ("c" ?∩╜â)
  56.   ("d" ?∩╜ä)  ("e" ?∩╜à)  ("f" ?∩╜å)  ("g" ?∩╜ç)
  57.   ("h" ?∩╜ê)  ("i" ?∩╜ë)  ("j" ?∩╜è)  ("k" ?∩╜ï)
  58.   ("l" ?∩╜î)  ("m" ?∩╜ì)  ("n" ?∩╜Ä)  ("o" ?∩╜Å)
  59.   ("p" ?∩╜É)  ("q" ?∩╜æ)  ("r" ?∩╜Æ)  ("s" ?∩╜ô)
  60.   ("t" ?∩╜ö)  ("u" ?∩╜ò)  ("v" ?∩╜û)  ("w" ?∩╜ù)
  61.   ("x" ?∩╜ÿ)  ("y" ?∩╜Ö)  ("z" ?∩╜Ü)  ("{" ?\∩╜¢)
  62.   ("|" ?∩╜£)  ("}" ?\∩╜¥) ("~" ?∩╜₧)
  63.  
  64.   ((cent) ?∩┐á)
  65.   ((sterling) ?∩┐í)
  66.   ((notsign) ?∩┐ó)
  67.   ((brokenbar) ?∩┐ñ)
  68.   ((yen) ?∩┐Ñ)
  69.   ((Korean_Won) ?∩┐ª))
  70.  
  71.  (enter-fullwidth-mode
  72.   (">>"))
  73.  (exit-fullwidth-mode
  74.   ("<<"))
  75.  (enter-single-fullwidth-mode
  76.   ("Z")))
  77.  
  78. (state
  79.  (fullwidth-mode
  80.   "∩╝í"
  81.   (fullwidth (commit))
  82.   (exit-fullwidth-mode (shift t))
  83.   (nil (unhandle)))
  84.  
  85.  (single-fullwidth-mode
  86.   "∩╝í"
  87.   (fullwidth (commit) (shift t))))
  88.  
  89. ;; Local Variables:
  90. ;; mode: lisp
  91. ;; coding: utf-8
  92. ;; End:
  93.